package com.hsjk.szwj.module.official.controller.admin.video.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/08/07 16:49
 **/
@Schema(description = "")
@Data
@ToString(callSuper = true)
public class AdminOfficialWebsiteVideoUpdateReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "id不能为空")
    private Long id;

    @Schema(description = "视频名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
    @NotBlank(message = "视频名称不能为空")
    private String videoName;

    @Schema(description = "视频地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
    @NotBlank(message = "视频地址不能为空")
    private String videoUrl;

    @Schema(description = "封面地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
    @NotBlank(message = "封面地址不能为空")
    private String videoCoverUrl;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer sortNo;
}
